const globalParams = {
    api: window.location.protocol + '//' + window.location.host,
};  